package com.one;

public class B {
    public static void main(String[] args) {

        new Thread(new Runnable() {
            @Override
            public void run() {
                for (int i1 = 0; i1 < 1000000000; i1++) {
                    A.name = "B" + i1;
                }
            }
        }).start();

        while ( true) {
            System.out.println(A.name);
        }

    }
}
